<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>公信商城－我的账户</title>

    <!--图标字体 http://fontawesome.io/icons/ -->
    <link rel="stylesheet" href="css/font/css/font-awesome.min.css" />
    <link rel="stylesheet" href="css/ui-base.css"/>
    <link rel="stylesheet" href="css/main.css"/>
    <script src="js/jquery.min.js"></script>
    <!--<script src="js/loaderMask.js"></script>-->
</head>
<body>
    <header class="header">
        <span class="title">我的账户</span>
        <a class="l-btn l-back" href="javascript: window.history.go(-1);"></a>
        <!--<a class="r-btn r-home" href="index.html"></a>-->
        <a class="r-btn r-pcenter" href="personalCenter.html"></a>
    </header>
    <div class="content w100 ho">
        <div class="account-overage ho po-r">
            <span>账户余额（元）</span>
            <span class="overage">￥0.00</span>
            <a class="btn recharge" href="##">充值</a>
        </div>
        <div class="aboutus-list ho">
            <a class="list" href="coupon.html">
                <span class="tt f-l">优惠卷</span>
                <span class="toright f-r"><i class="fa fa-angle-right"></i></span>
                <span class="info f-r">3张</span>
            </a>
        </div>

        <div class="month-bill-list ho">
            <div class="list bor-b ho">
                <div class="tt">
                    <span class="f-l">九月账单</span>
                    <i class="fa fa-angle-down f-r"></i>
                </div>
                <div class="myc-list ho">
                    <ul>
                        <li>
                            <div class="ll f-l ta-l ho">
                                <span class="t1">消费</span>
                                <span class="t2">余额：0.00</span>
                            </div>
                            <div class="rr f-r ta-r ho">
                                <span class="t1 color-r">-9.00</span>
                                <span class="t2">2015-8-8</span>
                            </div>
                        </li>
                        <li>
                            <div class="ll f-l ta-l ho">
                                <span class="t1">充值</span>
                                <span class="t2">余额：9.00</span>
                            </div>
                            <div class="rr f-r ta-r ho">
                                <span class="t1">9.00</span>
                                <span class="t2">2015-8-8</span>
                            </div>
                        </li>
                        <li>
                            <div class="ll f-l ta-l ho">
                                <span class="t1">消费</span>
                                <span class="t2">余额：0.00</span>
                            </div>
                            <div class="rr f-r ta-r ho">
                                <span class="t1 color-r">-9.00</span>
                                <span class="t2">2015-8-8</span>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="list bor-b po-r ho">
                <div class="tt">
                    <span class="f-l">八月账单</span>
                    <i class="fa fa-angle-down f-r"></i>
                </div>
                <div class="myc-list ho">
                    <ul>
                        <li>
                            <div class="ll f-l ta-l ho">
                                <span class="t1">消费</span>
                                <span class="t2">余额：0.00</span>
                            </div>
                            <div class="rr f-r ta-r ho">
                                <span class="t1 color-r">-9.00</span>
                                <span class="t2">2015-8-8</span>
                            </div>
                        </li>
                        <li>
                            <div class="ll f-l ta-l ho">
                                <span class="t1">充值</span>
                                <span class="t2">余额：9.00</span>
                            </div>
                            <div class="rr f-r ta-r ho">
                                <span class="t1">9.00</span>
                                <span class="t2">2015-8-8</span>
                            </div>
                        </li>
                        <li>
                            <div class="ll f-l ta-l ho">
                                <span class="t1">消费</span>
                                <span class="t2">余额：0.00</span>
                            </div>
                            <div class="rr f-r ta-r ho">
                                <span class="t1 color-r">-9.00</span>
                                <span class="t2">2015-8-8</span>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

    </div>

    <!--弹框组件-->
    <script src="js/sweetalert/sweetalert.min.js"></script>
    <link rel="stylesheet" type="text/css" href="js/sweetalert/sweetalert.css">
    <script>
        $(function () {
            /*充值弹框*/
            $('.recharge').click( function () {
                swal({
                    title: "请填写充值金额",
    //                text: "",
                    type: "input",
                    confirmButtonColor: "#FF7B0F",
                    showCancelButton: true,
                    closeOnConfirm: false,
                    confirmButtonText: "充值",
                    cancelButtonText: "取消",
                    animation: "pop",
                    inputPlaceholder: "充值金额"
                },
                function(inputValue){
                    if (inputValue === false) {
                        return false;
                    }
                    if (inputValue === "") {
                        swal.showInputError("请填写充值金额!");
                        return false;
                    }
                    window.location.href = 'verified.html';
                });
            });
            /*展开信息*/
            $('.month-bill-list .list .tt').click( function () {
                if ($(this).hasClass('select')) {
                    $(this).removeClass('select');
                    $(this).parent().find('.myc-list').slideUp("slow", "linear");
                } else {
                    $('.month-bill-list .list .tt').removeClass('select');
                    $('.month-bill-list .list .myc-list').slideUp("slow", "linear");
                    $(this).addClass('select');
                    $(this).parent().find('.myc-list').slideDown("slow", "linear");
                }
            });
        });
    </script>
</body>
</html>